package com.sprucetec.live.service;

import com.sprucetec.live.entity.LiveVideoRelateDetail;

import java.util.List;

/**
 * @author chenkai
 * @date 2020/3/31 4:36 下午
 * @description:
 */
public interface LiveVideoRelateDetailService {

    /**
     * 批量插入
     * @param list
     * @return
     */
    void batchInsert(List<LiveVideoRelateDetail> list);

    /**
     * 删除关联视频
     * @param liveVideoId
     */
    void deleteRelateDetail(Long liveVideoId);

    /**
     * 根据频频id，获取关联视频
     * @param liveVideoId
     * @return
     */
    List<LiveVideoRelateDetail> getRelateDetailList(Long liveVideoId);
}
